package org.example.state;

import java.util.Random;

/** 奖品发放
 * @author wangbin
 * @date 2024/4/20
 * @vesion 1.0
 */
public class DispenseState extends State{

    RaffleActivity activity;

    public DispenseState(RaffleActivity activity) {
        this.activity = activity;
    }

    @Override
    public void deductMoney() {
        System.out.println("扣除了积分，无需扣除");

    }

    @Override
    public boolean raffle() {
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("发放奖品");
        if(activity.getCount()>0){

        }else{

        }

    }
}
